package com.sds.sweng.swat.miplatform.ui.design.layouts;

import org.eclipse.draw2d.FlowLayout;

public class EasyFlowLayout extends FlowLayout {

	public EasyFlowLayout(boolean isHorizontal, int majorSpacing, int minorSpacing, boolean isFill) {
		this(isHorizontal, majorSpacing, minorSpacing, ALIGN_LEFTTOP, ALIGN_LEFTTOP, isFill);
	}

	public EasyFlowLayout(boolean isHorizontal, int majorSpacing, int minorSpacing, int majorAlignment, int minorAlignment, boolean isFill) {
		super(isHorizontal);
		setMajorSpacing(majorSpacing);
		setMinorSpacing(minorSpacing);
		setMajorAlignment(majorAlignment);
		setMinorAlignment(minorAlignment);
		setStretchMinorAxis(isFill);
	}

}
